package cn.myspringboot.pojo.bo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class LoginBo {
    @NotEmpty(message = "code不能为空")
    private String code;
    @NotNull(message = "参数异常")
    private Integer type;
}
